package com.xingkeduo.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.xingkeduo.model.example.TMarketingReceiveHistoryCouponBagExample;
import com.xingkeduo.model.po.TMarketingReceiveHistoryCouponBag;

public interface TMarketingReceiveHistoryCouponBagMapper {
    int countByExample(TMarketingReceiveHistoryCouponBagExample example);

    int deleteByExample(TMarketingReceiveHistoryCouponBagExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TMarketingReceiveHistoryCouponBag record);

    int insertSelective(TMarketingReceiveHistoryCouponBag record);

    List<TMarketingReceiveHistoryCouponBag> selectByExampleWithBLOBs(TMarketingReceiveHistoryCouponBagExample example);

    List<TMarketingReceiveHistoryCouponBag> selectByExample(TMarketingReceiveHistoryCouponBagExample example);

    TMarketingReceiveHistoryCouponBag selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TMarketingReceiveHistoryCouponBag record, @Param("example") TMarketingReceiveHistoryCouponBagExample example);

    int updateByExampleWithBLOBs(@Param("record") TMarketingReceiveHistoryCouponBag record, @Param("example") TMarketingReceiveHistoryCouponBagExample example);

    int updateByExample(@Param("record") TMarketingReceiveHistoryCouponBag record, @Param("example") TMarketingReceiveHistoryCouponBagExample example);

    int updateByPrimaryKeySelective(TMarketingReceiveHistoryCouponBag record);

    int updateByPrimaryKeyWithBLOBs(TMarketingReceiveHistoryCouponBag record);

    int updateByPrimaryKey(TMarketingReceiveHistoryCouponBag record);
}